package com.zcr.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zcr.mapper.SellMapper;
import com.zcr.pojo.Sell;
import com.zcr.service.SellService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @version 1.0
 * @author： 张诚
 * @date： 2021-03-25 17:33
 */
@Service("SellService")
public class SellServiceImpl extends ServiceImpl<SellMapper, Sell> implements SellService {

    @Resource
    private SellMapper sellMapper;


    @Override
    public boolean add(Sell sell) {
        return sellMapper.insert(sell)>0;
    }

}
